package top.kaoshanji.p4ch25c;

/**
 * 代码清单-p4ch25c-319页c：场景类
 * @author kaoshanji
 * ^_^
 * create time 2025/3/27 11:02
 */
public class Client {

    public static void main(String[] args) {
        for (int i = 0; i < 10; i++) {
            // 获得元素对象
            Element el = ObjectStruture.createElement();
            // 接受访问者访问
            el.accept(new Visitor());

        }
    }

}
